package com.own.business.pay.core.method;

import com.own.business.pay.entity.po.BillHistory;

/**
 * TradeExpireHandlerService
 *
 * @author chenxueli
 * @date 2024-04-16 09:05:00
 */
public interface TradeExpireHandlerService {

    /**
     * 订单过期处理方法
     *
     * @param type    交易类型 1=收入 2=支出 3=退款 {{@link com.own.business.pay.common.constant.ConstantPay.Type}}
     * @param history 账单信息
     */
    void expire(int type, BillHistory history);

}
